package edu.ynu.se.xiecheng.achitectureclass.dto;

import edu.ynu.se.xiecheng.achitectureclass.entity.User;
import lombok.Data;

@Data
public class LoginResponseDTO {
    private User user;
    private String sensorToken;
    private String cameraToken;

    public LoginResponseDTO(User user) {
        this.user = user;
        this.sensorToken = "eyJhbGciOiJSUzI1NiIsImtpZCI6Ijg2QzQ2RTIxQTc0MTUxNTFCOTQ0MTY4MzhEMERGODU1OTZENkM2RTgiLCJ0eXAiOiJhdCtqd3QiLCJ4NXQiOiJoc1J1SWFkQlVWRzVSQmFEalEzNFZaYld4dWcifQ.eyJuYmYiOjE3MzYzNzIzMzQsImV4cCI6MTczNjM3OTUzNCwiaXNzIjoiaHR0cHM6Ly9hY2NvdW50LmZsZXhlbS5jb20vY29yZSIsImF1ZCI6Imlkc3ZyMyIsImNsaWVudF9pZCI6IjY4ZGIyZThiZGE4ZDQ3YjViNWRiN2VhZjcxYzdkY2RkIiwic3ViIjoiZTcxMjRhMTYtMjEwNS00ZTU4LWI5OGItOWE2ZmFkNjZiYjA3Iiwic2NvcGUiOlsiZmJveCJdfQ.QFhASPp19K6oFLM1MqhKsemtRLiu_8AZGTCmCn6fGvbPg9GIxJGuGekThrgimAOKPQYoCNfFqlXQFDlm5COU-jBdshm3GscJuiQQ0wjrzjy7edMENhc2D87PWUag7TJ_isZ479O7yec24X1gGX-FwYjiQU1ToNiM0Tl4ndWa21EpFfiXXB4jfpCgwC-BxqZdi2E4vgtqrdoVAU9ACvVBJl-w8Jr1Q7qQtrRPDChMaajq3mGGp10wgFCg_hcrKi0Brg5NWZKInR5dRxdczEDeTsEUJBhZC_0i5Q94lgBQNtjHMKoe0kNA2pB41NVtsHv5EUOGsV8dQE5xpmqL6YQevA";
        this.cameraToken = "ra.5re72ai38g4y7gky9ghls5dzb2equqku-491d6ysuja-0bzlevz-5zrd54nns";
    }
} 